home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Magazine / C_Tutorial / Part-4 / clip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-31  |  497 b   |  15 lines

  1. /* clip.c and clip.h */
  2. /* A separate compilation unit for the clipping functions */
  3. /* In clip.h: declare public things (i.e., the functions) */
  4. /* In clip.c: make the actual definitions */
  5.  
  6. #include<intuition/intuition.h>
  7.  
  8. /* Set a clip region on a specified part of window */
  9. int setClipSized(struct Window*, struct Rectangle*);
  10.  
  11. /* Set a clip region on internal part of window */
  12. int setClipInternal(struct Window*);
  13.  
  14. /* Remove the clip region from a window */
  15. void removeClip(struct Window*);